package com.yfp.machine.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * 版本推送记录表(VersionPushRecord)实体类
 *
 *
 * @since 2023-12-16 21:36:37
 */
@Schema(title = "版本推送记录表")
public class VersionPushRecord implements Serializable {
    private static final long serialVersionUID = -35260953134119601L;
    /**
     * 记录编号
     */
    @Schema(title = "记录编号")
    private String recordNo;
    /**
     * 版本号
     */
    @Schema(title = "版本号")
    private String versionNo;
    /**
     * 版本名称
     */
    @Schema(title = "版本名称")
    private String versionName;
    /**
     * 安装包大小
     */
    @Schema(title = "安装包大小")
    private String size;
    /**
     * 机器编号
     */
    @Schema(title = "机器编号")
    private String machineId;
    /**
     * 设备类型（1：二代机 2：三代机）
     */
    @Schema(title = "设备类型（1：二代机 2：三代机）")
    private Integer machineType;
    /**
     * 推送时间
     */
    @Schema(title = "推送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pushTime;
    /**
     * 推送状态（0：推送失败 1：推送成功）
     */
    @Schema(title = "推送状态（0：推送失败 1：推送成功）")
    private Integer pushStatus;
    /**
     * 升级状态（0：升级失败 1：升级成功）
     */
    @Schema(title = "升级状态（0：升级失败 1：升级成功）")
    private Integer upgradeStatus;
    /**
     * 创建时间
     */
    @Schema(title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 内部版本号
     */
    @Schema(title = "内部版本号")
    private Integer innerVersionNo;
    /**
     * URL
     */
    @Schema(title = "URL")
    private String url;


    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public Integer getMachineType() {
        return machineType;
    }

    public void setMachineType(Integer machineType) {
        this.machineType = machineType;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    public Integer getPushStatus() {
        return pushStatus;
    }

    public void setPushStatus(Integer pushStatus) {
        this.pushStatus = pushStatus;
    }

    public Integer getUpgradeStatus() {
        return upgradeStatus;
    }

    public void setUpgradeStatus(Integer upgradeStatus) {
        this.upgradeStatus = upgradeStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getInnerVersionNo() {
        return innerVersionNo;
    }

    public void setInnerVersionNo(Integer innerVersionNo) {
        this.innerVersionNo = innerVersionNo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}

